home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _46B232C439FA4DAB9375F65B2FFCC739 < prev    next >
Encoding:
Text File  |  2004-04-28  |  2.2 KB  |  100 lines

  1. $SPECPOW(f, 20)
  2. $TEX1OPTIONSFILE(s,"")
  3.  
  4. shader()
  5. {
  6.     NoLightmaps()
  7.     sortweight(SORTW)
  8.     Cull("none")
  9.     Shaderquality(3)
  10.     pass()
  11.     {
  12.         Pixelshader("TreeTop.psh")
  13.         tmu()
  14.         {
  15.             TexMod("rotate", "sin", 0, 3, 0.1, "sin", 0, 2.7, 0.11)
  16.             texture()
  17.             {
  18.                 Image(TEXTURE1)
  19.                 addressfunc("clamp", "clamp", "clamp")
  20.             }
  21.         }
  22.  
  23.         !include("__Clouds.mtt")
  24.  
  25.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  26.  
  27.         BlendFunc("src_alpha", "inv_src_alpha")
  28.         AlphaFunc("gequal", 1)
  29.         DepthFunc("lequal", 0)
  30.     }
  31.  
  32.     lightpass()
  33.     !include("Spot1Tex_B.mtt")
  34. }
  35.  
  36. shader()
  37. {
  38.     NoLightmaps()
  39.     sortweight(SORTW)
  40.     Cull("none")
  41.     Shaderquality(1)
  42.     pass()
  43.     {
  44.         Pixelshader("TreeTopVeryLow.psh")
  45.         tmu()
  46.         {
  47.             TexMod("rotate", "sin", 0, 3, 0.1, "sin", 0, 2.7, 0.11)
  48.             texture()
  49.             {
  50.                 Image(TEXTURE1)
  51.                 addressfunc("clamp", "clamp", "clamp")
  52.             }
  53.         }
  54.  
  55.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  56.  
  57.         BlendFunc("src_alpha", "inv_src_alpha")
  58.         AlphaFunc("gequal", 1)
  59.         DepthFunc("lequal", 0)
  60.     }
  61.  
  62.     lightpass()
  63.     !include("Spot1Tex_B.mtt")
  64. }
  65.  
  66. shader()
  67. {
  68.     sortweight(SORTW)
  69.     pass()
  70.     {
  71.         tmu()
  72.         {
  73.             colorop("add", "tfactor", "tfactor_a", "current")
  74.         }
  75.  
  76.         tmu()
  77.         {
  78.             TexMod("rotate", "sin", 0, 3, 0.1, "sin", 0, 2.7, 0.11)
  79.             texture()
  80.             {
  81.                 Mapchannel(0)
  82.                 Image(TEXTURE1)
  83.                 addressfunc("clamp", "clamp", "clamp")
  84.             }
  85.             ColorOp("mul", "texture", "current", "current")
  86.             AlphaOp("arg1", "texture", "current", "current")
  87.         }
  88.  
  89.         tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %daycolor_a)
  90.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  91.  
  92.         BlendFunc("src_alpha","inv_src_alpha")
  93.         AlphaFunc("greater", 1 )
  94.         DepthFunc("lequal", 0)
  95.     }
  96.  
  97.     Cull("none")
  98. }
  99.  
  100.